home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- if not exist grabber.doc goto :err
- if exist convert.doc goto :msg
- :err
- echo
- echo Error: Cannot locate both of the documentation files GRABBER.DOC and
- echo CONVERT.DOC. Please change to the drive or directory which contains
- echo your GRABBER distribution files, then run the INFO.BAT file again.
- echo
- goto :exit
- :msg
- echo The complete documentation for the GRABBER program is contained in the file
- echo GRABBER.DOC, which runs to 32 pages. (GRABBER.DOC also contains instructions
- echo for the CHKVBE and GRHOTKEY programs.) The documentation for the GR2GIF,
- echo GR2PCX and GR2PIC programs is contained in the file CONVERT.DOC (7 pages).
- echo
- echo GRABBER.DOC and CONVERT.DOC are pre-formatted for printing on regular 8-1/2
- echo by 11-inch paper, 60 or 66 lines per page.
- echo
- echo If you don't want to print these files now, press [Ctrl-C] and then press [Y].
- echo Otherwise, you may let this batch file print them for you. Simply do this:
- echo
- echo 1. Turn your printer on
- echo 2. Adjust the left margin to zero or 1
- echo 3. Adjust the top line to the very top of the page
- echo
- :chk1
- if %1zap==zap goto :lpt1
- if %1==lpt1 goto :lpt1
- if not %1==LPT1 goto :chk2
- :lpt1
- set pr$=lpt1
- echo ┌─────────────────────────────────────────────────────────────────┐
- echo │ By the way, I am about to print to the printer which is con- │
- echo │ nected to your LPT1 port. If you want to print to LPT2 or LPT3 │
- echo │ instead, abort now and re-enter "INFO LPT2" or "INFO LPT3". │
- echo └─────────────────────────────────────────────────────────────────┘
- echo
- goto :msg2
- :chk2
- if %1==lpt2 goto :lpt2
- if not %1==LPT2 goto :chk3
- :lpt2
- set pr$=lpt2
- echo ┌─────────────────────────────────────────────────────────────────┐
- echo │ By the way, I am about to print to the printer which is con- │
- echo │ nected to your LPT2 port. If you want to print to LPT1 or LPT3 │
- echo │ instead, abort now and re-enter "INFO LPT1" or "INFO LPT3". │
- echo └─────────────────────────────────────────────────────────────────┘
- echo
- goto :msg2
- :chk3
- if %1==lpt3 goto :lpt3
- if not %1==LPT3 goto :lpt1
- :lpt3
- set pr$=lpt3
- echo ┌─────────────────────────────────────────────────────────────────┐
- echo │ By the way, I am about to print to the printer which is con- │
- echo │ nected to your LPT3 port. If you want to print to LPT1 or LPT2 │
- echo │ instead, abort now and re-enter "INFO LPT1" or "INFO LPT2". │
- echo └─────────────────────────────────────────────────────────────────┘
- echo
- :msg2
- echo 4. Press any key when ready to print,
- echo or type [Ctrl-C] now to abort...
- pause > nul
- cls
- echo
- echo ┌──────────────────────────────────────────────────────────────┐
- echo │ Printing GRABBER.DOC (32 pages). Press [Ctrl-C] to abort... │
- echo └──────────────────────────────────────────────────────────────┘
- if not exist jerrymsg.txt goto :docs
- type jerrymsg.txt > %pr$%
- :docs
- type grabber.doc > %pr$%
- echo
- echo ┌──────────────────────────────────────────────────────────────┐
- echo │ Printing CONVERT.DOC (7 pages). Press [Ctrl-C] to abort... │
- echo └──────────────────────────────────────────────────────────────┘
- type convert.doc > %pr$%
- if not exist order.frm goto :bye
- type order.frm > %pr$%
- :bye
- echo
- echo Done.
- echo
- :exit
- set pr$=